package org.example.erp.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.erp.domain.RepairOrders;
import org.example.erp.domain.SnTable;
import org.example.erp.mapper.SnTableMapper;
import org.example.erp.service.RepairOrdersService;
import org.example.erp.mapper.RepairOrdersMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author dell
* @description 针对表【repair_orders】的数据库操作Service实现
* @createDate 2024-11-12 14:44:22
*/
@Service
public class RepairOrdersServiceImpl extends ServiceImpl<RepairOrdersMapper, RepairOrders>
    implements RepairOrdersService{
    @Autowired
    private RepairOrdersMapper baseMapper;
    public IPage<RepairOrders> findwx(Integer currentPage, Integer pageSize,
                                 String repairNo, String repairName, String repairResults
                                 ,String documentStatus,String deviceNo,String deviceName){
        Page<RepairOrders> page = new Page<>(currentPage, pageSize);
        return baseMapper.findwx(page,repairNo, repairName, repairResults,documentStatus,deviceNo,deviceName);
    }
}




